#ifndef CONTROLFIRERADAR_H
#define CONTROLFIRERADAR_H

#include <QObject>
#include "radar.h"

class ControlFireRadar:public Radar
{
      Q_OBJECT
public:
    ControlFireRadar();
     ~ControlFireRadar();

     bool open()override;
     void scan()override;
     void doWork()override;


  //向外界发送信号
 signals:
     virtual   void sendDataToOtherDevice(std::shared_ptr<YCN::Command>cmd)override;
 //接收外界来的信号
 public slots:
    virtual  void onOtherDevice(std::shared_ptr<YCN::Command>cmd)override;

public:
      std::shared_ptr<YCN::Command> recv_cmd_;
};

#endif // CONTROLFIRERADAR_H
